gdk/wayland/surface: Remove redundant `should_be_mapped` code
authorIan Douglas Scott <idscott@system76.com>
Tue, 30 Nov 2021 18:29:30 +0000 (10:29 -0800)
committerIan Douglas Scott <idscott@system76.com>
Tue, 30 Nov 2021 18:36:46 +0000 (10:36 -0800)
commit25ec20d8618afb6a6d1bf4ecfc263d44a9498d46
tree838518cb8217284a84a8c52aad90dcbf46a7793a
parente80238120e37f4daef7cf0fee4b2b3dec2ecfc2c
gdk/wayland/surface: Remove redundant `should_be_mapped` code

As far as I can tell, the code here is redundant and probably ended up
this way for historical reasons. A drag surface without
`->is_drag_surface` would be created if `gdk_display_create_surface`
were called with `GDK_SURFACE_TEMP`, but drag surfaces never seem to be
created that way.

In `gtk4-demos`, drag and drop and popovers seem to be working normally
with this.
gdk/wayland/gdksurface-wayland.c